#include "widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
{
    QProgressBar *progress[4];

    progress[0] = new QProgressBar(this);
    progress[0]->setMinimum(0);
    progress[0]->setMaximum(100);
    progress[0]->setValue(50);
    progress[0]->setOrientation(Qt::Horizontal);
    progress[0]->setGeometry(10,10,200,10);

    progress[1] = new QProgressBar(this);
    progress[1]->setMinimum(0);
    progress[1]->setMaximum(100);
    progress[1]->setValue(70);
    progress[1]->setOrientation(Qt::Horizontal);
    progress[1]->setInvertedAppearance(true);
    progress[1]->setGeometry(10,30,200,10);

    progress[2] = new QProgressBar(this);
    progress[2]->setValue(50);
    progress[2]->setOrientation(Qt::Vertical);
    progress[2]->setGeometry(10,50,10,200);

    progress[2] = new QProgressBar(this);
    progress[2]->setValue(70);
    progress[2]->setOrientation(Qt::Vertical);
    progress[2]->setInvertedAppearance(true);
    progress[2]->setGeometry(30,50,10,200);


}

Widget::~Widget()
{
}

